.center-vh{
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%); 	/* IE 9 */
    -moz-transform:translate(-50%, -50%); 	/* Firefox */
    -webkit-transform:translate(-50%, -50%); /* Safari 和 Chrome */
    -o-transform:translate(-50%, -50%);
    /*text-align: center;*/
    /*z-index: 1000;*/
  }

.center-v{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /*text-align: center;*/
  /*z-index: 1000;*/
}

.center-h{
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  /*text-align: center;*/
  /*z-index: 1000;*/
}
